package com.school.domain.dto.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class OrderAddDTO {
    /**
     * 客户姓名
     */
    @Schema(description = "客户姓名")
    private String userName;
    /**
     * 客户手机号码
     */
    @Schema(description = "客户手机号码")
    private String phone;
    /**
     * 下单日期
     */
    @Schema(description = "下单日期")
    private String orderDate;

    /**
     * 下单时间
     */
    @Schema(description = "下单时间")
    private String orderTime;

    /**
     * 订单类别
     */
    @Schema(description = "订单类型")
    private String orderType;

    /**
     * 产品ID列表
     */
    @Schema(description = "产品ID和购买数量列表")
    private List<OrderDetailDTO> orderDetailList;
}
